Fix regression in QPointF::operator==
authorAllan Sandfeld Jensen <allan.jensen@qt.io>
Mon, 9 Jul 2018 13:30:49 +0000 (15:30 +0200)
committerDmitry Shachnev <mitya57@debian.org>
Tue, 11 Sep 2018 10:29:28 +0000 (11:29 +0100)
commit5a35048ce9a55eacb675a24c229a704c9ec3e81d
tree41119b953d20be06e82631f56fa995e1712587ee
parent92fe86a61b72319c5ee56cb8dcbae34aebd48d91
Fix regression in QPointF::operator==

Handle hard zero independently in each coordinate, otherwise hard zero
is never equal to anything but itself.

Task-number: QTBUG-69368
Change-Id: I8b1131472bb92efc706a04e0b067e2211a5ccb0c
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Gbp-Pq: Name fix_regresion_in_QPointF_operator_equals.patch
src/corelib/tools/qpoint.h
tests/auto/corelib/tools/qpointf/tst_qpointf.cpp